
.PHONY: pull, push, clean, test

foo: foo.o
	gcc foo.o -o foo

foo.o: foo.c
	gcc -c foo.c -o foo.o

clean:
	-rm foo

pull:
	git pull

push:
	git add *.c Makefile
	git commit -m 'commit automatically.'
	git push

test:
	@echo 'Running test ...'
	@./foo |python3 m.py
